home *** CD-ROM | disk | FTP | other *** search
- /////////////////////////////////////////////////////////////
- //
- // Source file for StopwatchDerived
- //
- // This file generated by BuilderXcessory.
- /////////////////////////////////////////////////////////////
-
- #include "StopwatchDerived.h"
- #include <Vk/VkPeriodic.h> // Typed line
-
-
- StopwatchDerived::StopwatchDerived(const char *name, Widget parent) :
- Stopwatch(name, parent)
- {
- _timer = new VkPeriodic(1000); // Typed line
-
- _control->attach(_timer); // Typed line
-
- VkAddCallbackMethod( VkPeriodic::timerCallback, // Typed line
- _timer, _face,
- &FaceDerived::updateTimeCallback, NULL);
- }
-
-
- StopwatchDerived::~StopwatchDerived()
- {
- delete _timer; // Typed line
- }
-
-
- const char * StopwatchDerived::className() // classname
- {
- return ("StopwatchDerived");
- }
-
-
-
-